{extend name="Public:base" /}
      {block name="seo"}
           <title>话题列表|{$Think.CONFIG.WEB_SITE_TITLE} - Powered by EasySNS!</title>
  
  
  <meta name="keywords" content="{$Think.CONFIG.WEB_SITE_KEYWORD}">
  <meta name="description" content="{$Think.CONFIG.WEB_SITE_DESCRIPTION}">
      {/block}
{block name="body"}
<div class="aw-container-wrap">
    <div class="container">
        <div class="row">
            <div class="aw-content-wrap clearfix">
                <div class="col-sm-12 col-md-9 aw-main-content">
                    <!-- tab切换 -->
                    <ul class="nav nav-tabs aw-nav-tabs active hidden-xs">
                   
                                                                        <h2 class="hidden-xs"><i class="iconfont icon-pinglun"></i> 话题列表</h2>
                                            </ul>
                    <!-- end tab切换 -->

                    <!-- 话题分类 -->
                                        <div class="aw-mod aw-topic-category">
                        <div class="mod-body clearfix">
                            <ul>
                            <li>
                                    <a href="{:es_url('Topic/htlist',array('pid'=>0))}" {if condition="$pid eq 0"}class="active"{/if}>全部话题</a>
                                </li>
                             
           {volist name="groupcatelist" id="vo"}
            <li>
                        <a href="{:url('Topic/htlist',array('pid'=>$vo.id))}" {if condition="$pid eq $vo['id']"}class="active"{/if}>{$vo.name}</a>
          </li>
           {/volist}
                           
                                                            </ul>
                        </div>
                    </div>
                                        <!-- end 话题分类 -->

                    <!-- 我关注的话题 -->
                    <div class="aw-mod aw-topic-list">
                        <div class="mod-body clearfix">
                        
                          {volist name="grouplist" id="vo"}
                             <div class="aw-item">
                                <!-- 话题图片 -->
                                <a class="img aw-border-radius-5" href="{:es_url('Topic/index',array('name'=>$vo['name']))}" >
                                    <img src="{$vo['cover_id']|get_picture_url}" alt="{$vo.name}" style="width:50px;height:50px;">
                                </a>
                                <!-- end 话题图片 -->
                                <p class="clearfix">
                                    <!-- 话题内容 -->
                                    <span class="topic-tag">
                                        <a class="text" href="{:es_url('Topic/index',array('name'=>$vo['name']))}" >{$vo.name}</a>
                                    </span>
                                    <!-- end 话题内容 -->
                                </p>
                                <p class="text-color-999">
                                    <span> {$vo.topiccount} 个帖子</span>
                                    <span>{$vo.membercount} 个关注</span>
                                </p>
                               
                            </div>
        {/volist}
                                                                                </div>
                        <div class="mod-footer clearfix">
                            <div class="page-control">
                            {$grouplistpage}
                            </div>                        </div>
                    </div>
                    <!-- end 我关注的话题 -->
                </div>
                <!-- 侧边栏 -->
                <div class="col-sm-3 col-md-3 aw-side-bar hidden-sm hidden-xs">

                    <!-- 新增话题 -->
                    <div class="aw-mod new-topic">
                        <div class="mod-head">
                            <h3>新增话题</h3>
                        </div>
                        <div class="mod-body clearfix">
                            <div class="aw-topic-bar">
                                <div class="topic-bar clearfix">
                        
                                    
                                        {volist name="newhtlist" id="vo"}
                                        <span class="topic-tag">
                                         <a href="{:es_url('Topic/index',array('name'=>$vo))}" class="text" > {$vo.name}</a>
                                           
                                        </span>
                                            {/volist}
                                                                    
                                                                    </div>
                            </div>
                        </div>
                    </div>
                    <!-- end 新增话题 -->

                </div>
                <!-- end 侧边栏 -->
            </div>
        </div>
    </div>
</div>
 {/block}		
